package com.woyao.core.util;

import com.woyao.core.model.KeyValue;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2018/4/25 0025.
 */

public class Utils {

    public static List<String> getTexts(List<KeyValue> pairs) {
        List<String> list = new ArrayList<>();
        for (KeyValue pair : pairs) {
            list.add(pair.getName());
        }
        return list;
    }
}
